import { createPinia } from "pinia";
import persist from "pinia-plugin-persistedstate"

const pinia = createPinia();
// 添加持久化插件
pinia.use(persist)

export default pinia;

// 导出所有的store
export * from "./modules/user";
